I have a script to set the theme in windows 7 deployment "The added theme is baked into the deployed image" but I am having some issues. When the system is joined to a workgroup the theme is present but as soon as the system is domain joined it does not apply.
REM **********************************
REM Load Default User registry hive
REM **********************************
reg load HKU\DefaultUser "C:\Users\Default\ntuser.dat"
REM *****************************************************
REM Set default theme
REM *****************************************************
reg add "HKU\DefaultUser\Software\Policies\Microsoft\Windows\Personalization" /v Themefile /d "%systemroot%\Resources\Themes\Win7Profile.theme" /t REG_SZ /f
REM ***********************************
REM Unload Default User registry hive
REM ***********************************
reg unload HKU\DefaultUser
The theme ends up here when in a workgroup: [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Personalization]
"Themefile"="C:\\WINDOWS\\Resources\\Themes\\Win7Profile.theme"
When on the domain and I manualy envoke the theme it ends up here:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes]
"CurrentTheme"="C:\\WINDOWS\\resources\\Themes\\Win7Profile.theme"